171 research outputs found

    Order-Sorted Unification with Regular Expression Sorts

    Get PDF
    We extend first-order order-sorted unification by permitting regular expression sorts for variables and in the domains of function symbols. The set of basic sorts is finite. The obtained signature corresponds to a finite bottom-up hedge automaton. The unification problem in such a theory generalizes some known unification problems. Its unification type is infinitary. We give a complete unification procedure and prove decidability

    Enumerating All Maximal Clique-Partitions of an Undirected Graph

    Full text link
    We address the problem of enumerating all maximal clique-partitions of an undirected graph and present an algorithm based on the observation that every maximal clique-partition can be produced from the maximal clique-cover of the graph by assigning the vertices shared among maximal cliques, to belong to only one clique. This simple algorithm has the following drawbacks: (1) the search space is very large; (2) it finds some clique-partitions which are not maximal; and (3) some clique-partitions are found more than once. We propose two criteria to avoid these drawbacks. The outcome is an algorithm that explores a much smaller search space and guarantees that every maximal clique-partition is computed only once. The algorithm can be used in problems such as anti-unification with proximity relations or in resource allocation tasks when one looks for several alternative ways to allocate resources.Comment: In Proceedings FROM 2023, arXiv:2309.1295

    Constraint Solving over Multiple Similarity Relations

    Get PDF
    Similarity relations are reflexive, symmetric, and transitive fuzzy relations. They help to make approximate inferences, replacing the notion of equality. Similarity-based unification has been quite intensively investigated, as a core computational method for approximate reasoning and declarative programming. In this paper we consider solving constraints over several similarity relations, instead of a single one. Multiple similarities pose challenges to constraint solving, since we can not rely on the transitivity property anymore. Existing methods for unification with fuzzy proximity relations (reflexive, symmetric, non-transitive relations) do not provide a solution that would adequately reflect particularities of dealing with multiple similarities. To address this problem, we develop a constraint solving algorithm for multiple similarity relations, prove its termination, soundness, and completeness properties, and discuss applications

    Regular matching problems for infinite trees

    Full text link
    We investigate regular matching problems. The classical reference is Conway's textbook "Regular algebra and finite machines". Some of his results can be stated as follows. Let L(ΣX)L\subseteq(\Sigma\cup X)^* and RΣR\subseteq\Sigma^* be regular languages where Σ\Sigma is a set of constants and XX is a set of variables. Substituting every xXx\in X by a regular subset σ(x)\sigma(x) of Σ\Sigma^* yields a regular set σ(L)Σ\sigma(L)\subseteq\Sigma^*. A substitution σ\sigma solves a matching problem "LRL\subseteq R?" if σ(L)R\sigma(L)\subseteq R. There are finitely many maximal solutions σ\sigma; they are effectively computable and σ(x)\sigma(x) is regular for all xXx\in X; and every solution is included in a maximal one. Also, in the case of words "σ:σ(L)=R\exists\sigma:\sigma(L)=R?" is decidable. Apart from the last property, we generalize these results to infinite trees. We define a notion of choice function γ\gamma which for any tree ss over ΣX\Sigma\cup X and position uu of a variable xx selects at most one tree γ(u)σ(x)\gamma(u)\in\sigma(x); next, we define γ(s)\gamma_\infty(s) as the limit of a Cauchy sequence; and the union over all γ(s)\gamma_\infty(s) yields σ(s)\sigma(s). Since our definition coincides with that for IO substitutions, we write σio(L)\sigma_{io}(L) instead of σ(L)\sigma(L). Our main result is the decidability of "σ:σio(L)R\exists\sigma:\sigma_{io}(L)\subseteq R?" if RR is regular and LL belongs to a class of tree languages closed under intersection with regular sets. Such a special case pops up if LL is context-free. Note that "σ:σio(L)=R\exists\sigma:\sigma_{io}(L)=R?" is undecidable, in general in that case. However, the decidability of "σ:σio(L)=R\exists\sigma:\sigma_{io}(L)=R?" if both LL and RR are regular remains open because, in contrast to word languages, the homomorphic image of a regular tree language is not always regular if σ(x)\sigma(x) is regular for all xXx\in X.Comment: 18 pages. This replacement eliminates a false claim from the previous arXiv version of this paper: Item 4 of Theorem 1 did not hold for # = {=

    Generic Encodings of Constructor Rewriting Systems

    Get PDF
    Rewriting is a formalism widely used in computer science and mathematical logic. The classical formalism has been extended, in the context of functional languages, with an order over the rules and, in the context of rewrite based languages, with the negation over patterns. We propose in this paper a concise and clear algorithm computing the difference over patterns which can be used to define generic encodings of constructor term rewriting systems with negation and order into classical term rewriting systems. As a direct consequence, established methods used for term rewriting systems can be applied to analyze properties of the extended systems. The approach can also be seen as a generic compiler which targets any language providing basic pattern matching primitives. The formalism provides also a new method for deciding if a set of patterns subsumes a given pattern and thus, for checking the presence of useless patterns or the completeness of a set of patterns.Comment: Added appendix with proofs and extended example

    Research on corn hybrids behavior under the application of new technological concepts in Osmancea-Constanta area

    Get PDF
    The emergence of new growing concepts aiming to achieve the biological yield potential of crops, soil conservation and the increase in economic efficiency, had also an echo in the agriculture of Dobrogea area. Farmers were involved in finding the best solutions to achieve these goals. Research conducted at SC Micul Agricultor SRL farm, located in Osmancea, Constanta County is an example in this direction. This research aimed to establish the corn hybrids best adapted to the climatic and pedologic conditions of the area, and the most efficient soil tillage system and to optimize crop fertilization. For this purpose, the behavior of Mas 40 F, Dartona and P 9911 corn hybrids was studied under conventional (plowing) and minimum soil tillage (tiger and disk) for the following fertilization levels: unfertilized, N90P40K40 and N90P40K40 + Greenstart - 25 kg/ha.The best results were obtained when using tiger to perform basic soil tillage and fertilizing with N90P40K40 + 25 kg/ha Greenstart. For this variant, all hybrids had the highest yields ranging from 13.56 to 13.93 t/h
    corecore